Add VerifySetup Eval Tests and Tool Mocks#13388
Closed
JennyPng wants to merge 14 commits intoAzure:mainfrom
Closed
Add VerifySetup Eval Tests and Tool Mocks#13388JennyPng wants to merge 14 commits intoAzure:mainfrom
JennyPng wants to merge 14 commits intoAzure:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds evaluation tests for the VerifySetup functionality and introduces tool mocks for SDK generation and building operations. The changes test that the verify_setup tool is correctly invoked both directly and as a prerequisite step before SDK generation.
- Added two new tool mocks: PackageGenerateCode and PackageBuildCode to support testing SDK generation workflows
- Created test to verify that the verify_setup tool is invoked when explicitly requested
- Created test to verify that verify_setup is called before SDK generation operations
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/ToolMocks/ToolMocks.cs | Registered PackageGenerateCode and PackageBuildCode tool mocks in the mock registry |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/ToolMocks/PackageGenerateCode.cs | Implemented tool mock for the azsdk_package_generate_code operation with sample responses |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/ToolMocks/PackageBuildCode.cs | Implemented tool mock for the azsdk_package_build_code operation with sample responses |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/Scenarios/General/Evaluate_VerifySetup.cs | Added test case to verify that verify_setup tool is invoked for DotNet setup verification |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/Scenarios/AzureRestApiSpecs/Evaluate_GenerateSdk.cs | Added test case to verify that verify_setup is invoked before SDK generation |
tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/ToolMocks/PackageGenerateCode.cs
Show resolved
Hide resolved
tools/azsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/ToolMocks/PackageBuildCode.cs
Show resolved
Hide resolved
...zsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/Scenarios/AzureRestApiSpecs/Evaluate_GenerateSdk.cs
Outdated
Show resolved
Hide resolved
...zsdk-cli/Azure.Sdk.Tools.Cli.Evaluations/Scenarios/AzureRestApiSpecs/Evaluate_GenerateSdk.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
benbp
approved these changes
Dec 18, 2025
|
Hi @JennyPng. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #13132